#pragma once

#include "Agent.h"
#include "BehaviorTree.h"

class BearAgent : public Agent
{
public:
	BearAgent();
	~BearAgent();

	void Initialize(std::vector<std::vector<Node*>> &pGrid);
	void Cleanup();
	void Update(float pDeltaTime);

	void SearchArea();
	void Think();
	void Act();

	int Wander(BNode::Status p_Status);
	int FindFood(BNode::Status p_Status);
	int TimeCheck(BNode::Status p_Status);
	int CheckForFood(BNode::Status p_Status);
	int WalkTowardsFood(BNode::Status p_Status);
	int EatFood(BNode::Status p_Status);

private:
	BNode *m_xNode;

};